Skip to content

feat: add List Events on an Error tool#406

Merged
tomlongridge merged 2 commits intomainfrom
tom/bugsnag-list-error-events
Apr 7, 2026
Merged

feat: add List Events on an Error tool#406
tomlongridge merged 2 commits intomainfrom
tom/bugsnag-list-error-events

Conversation

@tomlongridge
Copy link
Copy Markdown
Contributor

Goal

Adds the ability to query events from an error – for example to do an event-by-event comparison using an LLM.

Design

Copied the pattern of other similar tools.

Testing

Unit testing of the basics and real dashboard testing of the tool.

Example prompt:

give the latest 5 events for error that occurred most recently

@tomlongridge tomlongridge requested a review from a team as a code owner April 2, 2026 17:51
@tomlongridge tomlongridge requested a review from sazap10 April 2, 2026 17:51
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

🎯 Coverage Target Met!

📈 Coverage Metrics

Metric Coverage Target Status
Lines 93.5% 80%
Functions 86.1% 80%
Branches 86.7% 80%
Statements 93.5% 80%

📊 Test Statistics

  • Total Lines: 20,646 / 22,077
  • Total Functions: 322 / 374
  • Total Branches: 948 / 1093
  • Total Statements: 20646 / 22077

🔍 Files Needing Coverage

File Coverage
src/reflect/prompt/sap-test.ts 9.5%
src/qmetry/client/testsuite.ts 10.3%
src/common/prompts.ts 16.7%
src/qmetry/client/issues.ts 20.1%
src/swagger/client/api.ts 30.0%

📝 Report generated on Node.js v24.14.0 • View workflow • Coverage by Vitest + v8

Copy link
Copy Markdown
Contributor

@sazap10 sazap10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add something to the changelog, but otherwise seems good to me

@tomlongridge tomlongridge requested a review from sazap10 April 7, 2026 09:15
@tomlongridge tomlongridge merged commit 0c084a9 into main Apr 7, 2026
46 checks passed
@tomlongridge tomlongridge deleted the tom/bugsnag-list-error-events branch April 7, 2026 09:56
@assisblf assisblf mentioned this pull request Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants